package com.ruoyi.outbound.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * #出库单对象 bm_outbound
 * 
 * @author ruoyi
 * @date 2023-08-02
 */

public class BmOutbound extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出库编号 */
    private String outboundCode;

    /** 出库单名称 */
    @Excel(name = "出库单名称")
    private String outboundName;

    /** 关联合同订单编号 */
    @Excel(name = "关联合同订单编号")
    private String orderCode;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseCode;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private Long outboundNum;

    /** 出库人员id */
    @Excel(name = "出库人员id")
    private Long employeeId;

    //出库人
    private String eName;

    // 创建人
    private String userName;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outboundTime;

    /** 出库状态 0.未出库 1.已出库 */
    @Excel(name = "出库状态 0.未出库 1.已出库")
    private Long status;

    /** 创建人员id */
    @Excel(name = "创建人员id")
    private Long createId;

    /** 备注 */
    @Excel(name = "备注")
    private String mark;

    public void setOutboundCode(String outboundCode) 
    {
        this.outboundCode = outboundCode;
    }

    public String getOutboundCode() 
    {
        return outboundCode;
    }
    public void setOutboundName(String outboundName) 
    {
        this.outboundName = outboundName;
    }

    public String getOutboundName() 
    {
        return outboundName;
    }
    public void setOrderCode(String orderCode) 
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode() 
    {
        return orderCode;
    }
    public void setWarehouseCode(String warehouseCode) 
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode() 
    {
        return warehouseCode;
    }
    public void setOutboundNum(Long outboundNum) 
    {
        this.outboundNum = outboundNum;
    }

    public Long getOutboundNum() 
    {
        return outboundNum;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setOutboundTime(Date outboundTime) 
    {
        this.outboundTime = outboundTime;
    }

    public Date getOutboundTime() 
    {
        return outboundTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public String getEName() {
        return eName;
    }

    public void setEName(String eName) {
        this.eName = eName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getCreateId()
    {
        return createId;
    }
    public void setMark(String mark) 
    {
        this.mark = mark;
    }

    public String getMark() 
    {
        return mark;
    }

    @Override
    public String toString() {
        return "BmOutbound{" +
                "outboundCode='" + outboundCode + '\'' +
                ", outboundName='" + outboundName + '\'' +
                ", orderCode='" + orderCode + '\'' +
                ", warehouseCode='" + warehouseCode + '\'' +
                ", outboundNum=" + outboundNum +
                ", employeeId=" + employeeId +
                ", eName='" + eName + '\'' +
                ", userName='" + userName + '\'' +
                ", outboundTime=" + outboundTime +
                ", status=" + status +
                ", createId=" + createId +
                ", mark='" + mark + '\'' +
                '}';
    }
}
